package com.bestvike.stone.spring.exception;

/**
 * Created by 许崇雷 on 2018-07-17.
 */
public final class ArgumentEmptyException extends BusinessException {
    private final String paramName;

    public ArgumentEmptyException(String paramName) {
        super(ErrorCode.ERROR_PARAM, "参数 [" + paramName + "] 不能为空");
        this.paramName = paramName;
    }

    public String getParamName() {
        return this.paramName;
    }
}
